package com.zt.bigdata.practise.encrypt;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 */
public abstract class Algorithm implements Security {
    protected Logger logger = LoggerFactory.getLogger(this.getClass());
    //公钥
    protected String publicKey;
    //私钥
    protected String privateKey;

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }
}
